package com.wu.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.yygh.model.cmn.Dict;
import com.wu.yygh.model.hosp.HospitalSet;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

import java.util.List;

/**
 * @ClassName HospitalSetService
 * @Author 浮生光
 * @Date 2022/6/26 23:31
 * @Description HospitalSetService
 * @Version 1.0
 */
public interface DictService extends IService<Dict> {
    List<Dict> findChildDataById(Long id);

    //根据数据id查询子数据列表
    List<Dict> findChlidData(Long id);

    void importDictData(MultipartFile file);
//
    void exportDictData(HttpServletResponse response);


//
    String getName(String dictCode, String value);
//
    List<Dict> findByDictCode(String dictCode);
}
